<?php 
abstract class X_plugin extends X{
    
    
}
function X_registerPlugin($plugin){
    X_options::$plugins[]=$plugin;
}